.container {
  display: flex;
  height: 100vh;
}
.editor, .preview {
  flex: 1;
  padding: 20px;
  overflow: auto;
}
.editor textarea {
  width: 100%;
  height: 100%;
  border: none;
  resize: none;
  font-family: monospace;
  font-size: 16px;
}
.preview {
  border-left: 1px solid #eee;
}
.share-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.markdown {
  font-family: -apple-system, sans-serif;
  line-height: 1.6;
}
.markdown h1, .markdown h2 {
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3em;
}
.markdown pre {
  background: #f6f8fa;
  padding: 16px;
  border-radius: 6px;
}
.markdown code {
  font-family: SFMono-Regular, Consolas, monospace;
}
